// pages/mine/mine.js
var app = getApp()
Page({
    data: {
        head_imgPath:'',
        head_name:''
    },

    onShow(){
      this.setData({
        head_imgPath:app.globalData.user_head_imgPath,
        head_name:app.globalData.user_head_name
      })
    },

    // 设置
    set:function(){
        wx.navigateTo({
          url: '/pages/set/set',
        })
    },

    //消息
    goto_message:function(){
      wx.navigateTo({
        url: '/pages/message/message',
      })
    },

    // 签到
    goto_sign_in:function(){
      wx.navigateTo({
        url: '/pages/sign_in/sign_in',
      })
    },

    // 个人资料
    goto_user:function(){
      wx.navigateTo({
        url: '/pages/user/user',
      })
    },

    // 收藏
    goto_collect:function(){
      wx.navigateTo({
        url: '/pages/collect/collect',
      })
    }
})